package csoei.bbs.beans;

public class User {
	private int userid;
	private static String username;
	private boolean logged;
	public int getUserid() {return userid;}
	public void setUserid(int userid) {this.userid = userid;}
	public static String getUsername() {return username;}
	public void setUsername(String username) {User.username = username;}
	public boolean isLogged() {return logged;}
	public void setLogged(boolean logged) {this.logged = logged;}
	
	public User(){this.userid=10000;User.username="guest";this.logged=false;}
	public User(int userid,String username,boolean logged){this.userid=userid;User.username=username;this.logged=logged;}
}
